﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.DAL.Statistics;
using System.Data;

namespace MINERP.BLL.Statistics
{
    public class SalemanAchievementBLL
    {
        SalemanAchievementDAL dal = new SalemanAchievementDAL();
        public DataSet GetSalemanAchievement(DateTime startTime, DateTime endTime)
        {
            DataSet ds = dal.GetSalemanAchievement(startTime, endTime);
            ds.WriteXml(@"C:\windows\xmlData\SalemanAchievement.xml", XmlWriteMode.WriteSchema);
            return ds;
        }

    }
}
